﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// PMS_Project:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class PMS_Project
    {
        public PMS_Project()
        { }
        #region Model
        private int _id;
        private string _projectid;
        private string _projectname;
        private string _projecttype;
        private string _jdeid;
        private string _sale;
        private string _design;
        private string _systempath;
        private string _customer;
        private string _customertel;
        private string _engineer;
        private string _engineertel;
        private string _construction;
        private string _principal;
        private string _systemproperty;
        private DateTime _startdate;
        private DateTime _enddate;
        private string _provider;
        private string _fmasurveypoints;
        private int _roleid;
        private string _city;
        private int _isDelete;
        private string _createName;
        /// <summary>
        /// 创建人
        /// </summary>
        public string createName
        {
            get { return _createName; }
            set { _createName = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string projectType
        {
            get { return _projecttype; }
            set { _projecttype = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int isDelete
        {
            get { return _isDelete; }
            set { _isDelete = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string projectID
        {
            set { _projectid = value; }
            get { return _projectid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string projectName
        {
            set { _projectname = value; }
            get { return _projectname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string JDEID
        {
            set { _jdeid = value; }
            get { return _jdeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string sale
        {
            set { _sale = value; }
            get { return _sale; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string design
        {
            set { _design = value; }
            get { return _design; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string systemPath
        {
            set { _systempath = value; }
            get { return _systempath; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string customer
        {
            set { _customer = value; }
            get { return _customer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string customerTel
        {
            set { _customertel = value; }
            get { return _customertel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string engineer
        {
            set { _engineer = value; }
            get { return _engineer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string engineerTel
        {
            set { _engineertel = value; }
            get { return _engineertel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string construction
        {
            set { _construction = value; }
            get { return _construction; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string principal
        {
            set { _principal = value; }
            get { return _principal; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string systemProperty
        {
            set { _systemproperty = value; }
            get { return _systemproperty; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime startDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime endDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string provider
        {
            set { _provider = value; }
            get { return _provider; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FMASurveyPoints
        {
            set { _fmasurveypoints = value; }
            get { return _fmasurveypoints; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int roleID
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string city
        {
            set { _city = value; }
            get { return _city; }
        }
        #endregion Model

    }

    public class PMS_ProjectQuery : BaseQuery
    {
        public int? projectID
        {
            get;
            set;
        }
        public DateTime? startDate
        {
            get;
            set;
        }
        public DateTime? endDate
        {
            get;
            set;
        }
        public int? roleID
        {
            get;
            set;
        }
        public int? userID
        {
            get;
            set;
        }
        public string projectType
        {
            get;
            set;
        }
    }
}
